home *** CD-ROM | disk | FTP | other *** search
- SUPERBREAKER v1.02
- by
- Thomas A. Lundin
- Graphics Unlimited Inc.
- 3000 Second Street North
- Minneapolis, MN 55411
- (612) 588-7571
-
-
- Superbreaker is a powerful file splitting program. ASCII text files can be
- split in the following ways:
-
- o According to size
- Optionally to the next CR/LF line boundary
- o According to an ASCII or hex match string
- Matching string can be output before the split
- Matching string can be output after the split
- Matching string can be ignored at the split
- o According to a line count
- Optionally converting 8-bit characters to 7-bit
-
-
- OPERATION
-
- The program is invoked as follows:
-
- C>SBREAK FILENAME
- or
- C>SBREAK @FILENAME
-
- where FILENAME is the large file to be broken up. Multiple files can be
- processed from one command line invocation by redirecting a DIR to a file
- (e.g., dir *.dat >dirlist); if this list file is preceded by a commercial "at"
- sign when the program is invoked, each file in the list will be processed in
- turn.
-
- The names of the split files consist of the main file name and a numeric
- extension between 001 and 999. For example, the file DATA.TXT would be split
- into DATA.001, DATA.002, etc. (It is vital that the input file you wish to
- split does not contain a three-digit file extension.) As split files are
- created, the names are displayed on the screen.
-
- The program will prompt you for your choice of split method. You should
- respond with S for size, M for match, or L for line count.
-
- SIZE BREAKING
-
- If you choose this method, you will be asked to enter the size you wish the
- split files to take. The value may contain commas or any other character, but
- only the numeric digits will be recognized (i.e., 500.00 is the same as
- 50000). You will next be asked whether you wish the file split to occur at a
- carriage return-line feed boundary. If you answer 'N', your split files will
- be exactly as long as your size value, regardless of where the break occurs.
- If you answer 'Y', your files may be somewhat larger than your size value,
- depending upon where the next CR/LF combination is encountered in the data
- stream.
-
- Breaking by size is the fastest method.
-
-
- MATCH BREAKING
-
- You will be asked to enter the string that will trigger a file break. The
- string can consist of ASCII characters or hex values, which can be
- intermingled. A hex value is entered as a backslash followed by two hex digits
- in the range 0-9 and A-F (e.g., \0d). Up to 80 characters may be entered in a
- break string, but remember the use of hex values takes up 3 positions. ASCII
- character matches are case sensitive.
-
- You have the ability to control what is done with the break string once a
- match has occurred. You may choose to:
-
- 1. Place the match break at the end of the file BEFORE a split is made;
- 2. Place the match break at the beginning of the file AFTER a split is
- made;
- 3. Make a split and throw away the match break.
-
-
- LINE COUNT BREAKING
-
- With this option, you will be asked to enter a value for the number of lines
- you wish each split file to contain. A "line" is terminated by a carriage
- return. Line feeds are IGNORED on input, but are automatically placed after
- each line on output. This will have an impact only if the file you are
- breaking by line contains line feeds not paired with a carriage return.
-
- The next prompt will ask you if you want to convert 8-bit ASCII
- characters to 7-bit ASCII. For standard ASCII input files, answering either
- 'Y' or 'N' will have no effect on the output. Some programs (such as Wordstar
- document mode) use 8-bit characters in place of the standard CR/LF combination
- to isolate lines. In these instances, answering 'Y' will do two things: first,
- it will guarantee that the line count will be implemented correctly; second,
- the split files will be plain ASCII text files with the 8th bit removed from
- the characters. Should you answer 'N' to these types of files, the line count
- will be implemented only at each instance of a true ASCII carriage return (hex
- 0D). In Wordstar, a true carriage return occurs only at the end of a
- paragraph; hence, a "line" is equal to a full paragraph in Wordstar document
- mode. Be aware of these distinctions. Superbreaker will accept a single "line"
- up to 24,000 characters long.
-
- Breaking by line count is the slowest method.
-
-
- NOTES
-
- This program is distributed as SHAREWARE. Use it; copy it; share it with your
- friends. Your financial support is appreciated. If you find the program to be
- a valuable tool, please send $10 to:
-
- Thomas A. Lundin
- Graphics Unlimited Inc.
- 3000 Second Street North
- Minneapolis, MN 55411
- (612) 588-7571
-
- Superbreaker was written in a language called UltraFILTR. It will run on any
- MS-DOS computer which has at least 128K of RAM.
-
-